package com.lifang.imsoa.util;

import com.lifang.model.Response;

public class ResponseUtil {
	public static <T> Response<T> getResultToResponse(Object object){
		Response<T> response = new Response<T>();
		response.setStatus(1);
		response.setMessage("成功");
		response.setData((T)object);
		return response;
	}
}
